﻿using MediatR;
using PublicClass;
using PublicClass.Entity;
using S.RBAC.Domain;
using S.RBAC.Domain.Dto;
using System.ComponentModel.DataAnnotations;

namespace S.RBAC.Read.Api.Application.Command.StaffCommand
{
    public class StaffSelectCommand : IRequest<PageInfo<StaffDto>>
    {
        /// <summary>
        /// 员工姓名
        /// </summary>
        public string? StaffName { get; set; }

        /// <summary>
        /// 员工状态Id
        /// </summary>
        public int? StaffStateId { get; set; }

        /// <summary>
        /// 部门Id
        /// </summary>
        public int DepartmentId { get; set; }

        /// <summary>
        /// 页序号
        /// </summary>
        public int PageIndex { get; set; }

        /// <summary>
        /// 页容量
        /// </summary>
        public int PageSize { get; set; }
    }
}
